package Demo1;
class MyThread extends Thread{
    @Override
    public void run() {
        System.out.println("1111");
    }
}

public class T6 {
    public static void main(String[] args) {
        Thread thread1 = new MyThread();
        thread1.run();
        thread1.start();
    }

}

